#ifndef BOARD_H
#define BOARD_H

#include "hole.h"

#include <QGraphicsScene>

class Hole;
class Board : public QGraphicsScene
{
    Q_OBJECT

    const qreal holeRadius_;
    const qreal rockRadius_;
    const qreal padding_;

    QVector<Hole*> holes_;

    QString boardMap_;
    void draw();
    void createRock(Hole*);
    Hole* createHole(int row, int col);
public:
    const int rows;
    const int cols;

    explicit Board(QObject *parent = 0);
    Hole *getHole(int row, int col);
    bool removeRock(int row, int col);
signals:
    
public slots:
    
};

#endif // BOARD_H
